import 'package:healthy_station_flutter/generated/json/base/json_field.dart';
import 'package:healthy_station_flutter/generated/json/station_detail_entity.g.dart';
import 'dart:convert';
export 'package:healthy_station_flutter/generated/json/station_detail_entity.g.dart';

@JsonSerializable()
class StationDetailEntity {
	String? id = '';
	//驿站名称
	String? name = '';
	String? stationLevel = '';
	String? orgId = '';
	//管理机构名称
	String? orgName = '';
	String? dutyCenterId = '';
	//驿站关联值班中心名称
	String? dutyCenterName = '';
	String? lon = '';
	String? lat = '';
	String? province = '';
	String? city = '';
	String? region = '';
	String? psrStr = '';
	//驿站详细地址
	String? addr = '';
	//负责人
	String? chargePerson = '';
	//负责人联系方式
	String? chargePhone = '';
	String? introduction = '';
	//等级
	String? stationLevelName = '';
	String? machineId = '';
	// 设备状态 0，1，2 已激活  4：未激活
	String? machineStatus = '';
	String? machineType = '';
	String? address = '';
	String? serverIp = '';
	String? machineModel = '';
	String? machineTypeName = '';
	String? machineModelName = '';
	String? machineCheckItemName = '';

	StationDetailEntity();

	factory StationDetailEntity.fromJson(Map<String, dynamic> json) => $StationDetailEntityFromJson(json);

	Map<String, dynamic> toJson() => $StationDetailEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}